package customer

import (
	"counter-help/admin/server/global"
)

// CusOrderView 表结构体，表示用户浏览的订单记录
type CusOrderView struct {
	global.GVA_MODEL
	UserID  *int `json:"userId" form:"userId" gorm:"column:user_id;comment:浏览用户 user id;size:19;"`       // 浏览用户 user id
	OrderID *int `json:"orderId" form:"orderId" gorm:"column:order_id;comment:对应浏览订单 order id;size:19;"` // 对应浏览订单 order id
}

// TableName 定义 CusOrderView 表名
func (CusOrderView) TableName() string {
	return "cus_order_view"
}
